import { request, config } from 'utils'

const { api } = config
const { customerSurplusList, customerSurplusListAll, customerSurplusQuery, customerSurplusListbrif } = api

export async function list (params) {
  return request({
    url: customerSurplusList,
    method: 'put',
    data: params,
  })
}

export async function listall (params) {
  return request({
    url: customerSurplusListAll,
    method: 'put',
    data: params,
  })
}
export async function listbrif (params) {
  return request({
    url: customerSurplusListbrif,
    method: 'put',
    data: params,
  })
}

export async function query (params) {
  return request({
    url: customerSurplusQuery,
    method: 'put',
    data: params,
  })
}



